package org.jsola.hr.vo;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import org.jsola.core.vo.BaseVO;
import org.jsola.hr.entity.ChildCompanyDO;

import java.util.List;


/**
 * 用户已阅公司系统公告(用户阅读公司系统公告后添加)
 *
 * @author zhr
 */
@EqualsAndHashCode(callSuper = true)
@ApiModel(description = "用户有角色的用工单位")
@Data
public class UserCompanyVO extends BaseVO {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(notes = "是否是全部用工单位分组")
    private Boolean isAllChildCompany;

    @ApiModelProperty(notes = "用工单位分组列表")
    private List<String> groupIds;

    //分组递归查询所有分组
    private List<String> allGroupIds;

    @ApiModelProperty(notes = "用工单位列表")
    private List<String> companyIds;

    private List<ChildCompanyDO> treeList;

}
